#!/usr/bin/perl

# Builds target for SJF.
print `make clean; make KIND='SJF'`;

# Runs the experiment with SJF for 10 times.
for ($i = 0; $i < 20; ++$i) {
  print `./experiment`;
  $num = 1;
  while ($num > 0) {
    --$num;
    sleep(2);
  }
}
